package vdc.view;

import java.awt.Dimension;
import java.awt.Toolkit;

import javax.swing.JFrame;

import vdc.view.listeners.MouseListenerEx;

public class MainForm extends JFrame
{

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 4668809524927164611L;

	public MainForm()
	{
		super();
		this.setAlwaysOnTop(true);
		this.setLocation(0, 0);
		Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
		this.setSize((int) dim.getWidth(), 300);
		this.setResizable(false);
		this.setUndecorated(true);
		this.setOpacity(0.8f);
		this.addMouseListener(new MouseListenerEx());
		this.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

	}

}
